Group Tree Control - Methods

The following table lists and describes methods of the Group Tree Control. Methods are accessed using the control's script editor. See CxGrpTree Methods for more information about using these methods in script.

Method Description

AboutBox

The AboutBox method displays an About dialog box for the control.

Syntax

AboutBox()

Example

The following examples launch an About dialog box for the control.

Copy
AboutBox
Sub ShowAboutBox()
 
    <Object>.AboutBox
 
End Sub

Sub ButtonTool_EventClick()

    Dim This : Set This = ButtonTool
    <Object>.AboutBox
 
End Sub

Collapse

The Collapse method collapse the current node.

Expand

The Expand method expands the current node.

GetSelectedNodeAttrValue

The GetSelectedNodeAttrValue method returns the attribute value of the selected node for the specified level. The AttributeId parameter can be a string or a number.

GetSelectedNodeChildCount

The GetSelectedNodeChildCount method returns the number of children for the selected node.

JumpToChild

The JumptoChild method sets the target node to a child of the current node that matches the criteria.

Refresh

The Refresh method refreshes the contents of the control from the Current Value Service (CVS).

SetTargetNode

The SetTargetNode method sets the target node that matches the criteria.